//
//  PPTopicTableViewCell.h
//  PetParadise
//
//  Created by 陈无忌 on 8/19/14.
//  Copyright (c) 2014 whalefin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PPImageShowView.h"
#import "PPTopic.h"
#import "TTTAttributedLabel.h"
#import<CoreText/CoreText.h>

@interface PPTopicTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet TTTAttributedLabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *imageCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;
@property (weak, nonatomic) IBOutlet PPImageShowView *imageShowView;
@property (weak, nonatomic) IBOutlet UILabel *topicLabel;



-(void)cellInitWithTopic:(PPTopic *)topic andBeforeTopic:(PPTopic *)beforeTopic;

+(CGFloat) getCellHeight:(PPTopic *)topic;

@end
